package day_09;

public class Car {
    private String name;
    private double price;
    private String colour;

    public Car(String name, double price, String colour) {
        this.name = name;
        this.price = price;
        this.colour = colour;
    }

    public Car() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }
}
